﻿//常量
var VERSION = "0.1";

//变量
var screen_width;
var screen_height;
var browser_type;	//ie, other

//背景图片
var bgpath1 = "/image/bg1.jpg";
var bgpath2 = "/image/bg2.jpg";
var bgpath3 = "/image/bg3.jpg";
var bgpath4 = "/image/bg4.jpg";

var MYINFO = null;
var SYSTEM_Z_INDEX = 0;

//var TOKENID_PART1 = 00000;
//var TOKENID_PART2 = 00000;
//var TOKENID_PART3 = 00000;
//var TOKENID_PART4 = 00000;

var LOGIN_INTERFECE_URL = "/system.do";
var INTERFACE_INTERFECE_URL = "/interface.do";

var LOGIN_ACTION_NAME = "login";
var CHAT_ACTION_NAME = "chat";

var FACE_PATH = "/image/userfaces/";	//好友头像路径

var myfriendgroups = new Array();
var myfriendgroups_index = -1;
//myfriends[0] = [{name: "lcy", age: 15}, {name: "uuu", age: 16}];
//myfriends[1] = {name: "aaa", age: 18};
//myfriends[0][2] = {name: "sbb"};
//
//alert(myfriends[0][2].name);


var LOGIN_STATE_0 = "登录时发生未知错误";
var LOGIN_STATE_1 = "登录成功";
var LOGIN_STATE_2 = "错误的帐号或密码";
var LOGIN_STATE_3 = "您被禁止登录";
var LOGIN_STATE_4 = "您的帐号尚未开通";
var LOGIN_STATE_99 = "登录超时，请重新登录";

var LOCAL_STATE_1 = "帐号或密码输入错误";

//State Codes
//var LOGIN_SUCCESS_STATE = "01";
//var LOGIN_FAILED_STATE = "02";
//var LOGIN_UNKNOW_ERROR_STATE = "03";



